package service.data;

import service.network.NetworkCalculationService;
import materials.network.NetworkInterface;

public class SuggestDataService {

	private NetworkInterface _net;
	
	public SuggestDataService(NetworkInterface net){
		_net = net;
	}
	
	public double[] testData(double[] _inputvector){
		NetworkCalculationService ncs = new NetworkCalculationService(_net);
		return ncs.calculateInput(_inputvector);
	}
	
	
	public int getInputVektorSize(){
		return _net.getElementsInLayer(1);
	}
	
	public int getOutputVectorSize(){
		return _net.getElementsInLayer(_net.getLayerNumber());
	}

	public void setNet(NetworkInterface ni) {
		_net = ni;
	}
}
